/*
 * *************************************************************************************
 *  Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved.                       *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 * *************************************************************************************
 */

package com.zhangyang.esper.support.bean;

import java.io.Serializable;

public class SupportMarketDataBean implements Serializable
{
    private String symbol;
    private String id;
    private double price;
    private Long volume;
    private String feed;
    private long longPrimitive;

    public SupportMarketDataBean(String symbol, double price, Long volume, String feed)
    {
        this.symbol = symbol;
        this.price = price;
        this.volume = volume;
        this.feed = feed;
    }

    public SupportMarketDataBean(String symbol, String id, double price)
    {
        this.symbol = symbol;
        this.id = id;
        this.price = price;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Long getVolume() {
        return volume;
    }

    public void setVolume(Long volume) {
        this.volume = volume;
    }

    public String getFeed() {
        return feed;
    }

    public void setFeed(String feed) {
        this.feed = feed;
    }

    public long getLongPrimitive() {
        return longPrimitive;
    }

    public void setLongPrimitive(long longPrimitive) {
        this.longPrimitive = longPrimitive;
    }

    public String toString()
    {
        return super.toString();
    }
}
